//
//  ViewController.m
//  UISliderOne
//
//  Created by iD Student on 7/9/13.
//  Copyright (c) 2013 jasonkurtzman. All rights reserved.
//

#import "ViewController.h"

@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad
{
    [super viewDidLoad];
    
    NSString *val = [NSString stringWithFormat:@"%f", speedSlider.value * 100];
    label.text = val;
    
    //animatedImage.animationImages = [NSArray arrayWithObjects:[UIImage imageNamed:@"img1.png"], [UIImage imageNamed:@"img1.png"], [UIImage imageNamed:@"img1.png"], nil];
    //animatedImage.animationDuration = 5 * .5;
    //[animatedImage startAnimating];
	// Do any additional setup after loading the view, typically from a nib.
}

-(IBAction)sliderMoved:(id)sender
{
    //animatedImage.animationDuration = speedSlider.value;
    //[animatedImage startAnimating];
    NSString *value = [NSString stringWithFormat:@"%f", speedSlider.value * 100];
    label.text = value;
    
}
- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
